package util;

import java.awt.event.MouseEvent;

/**
 * @author sebastien
 * @since 0.0.1-SNAPSHOT
 */
public class LogUtil {

	public static String logMouseEvents(MouseEvent event) {
		switch (event.getButton()) {
		case MouseEvent.BUTTON1:
			return "Left Mouse Button clic !";
		case MouseEvent.BUTTON2:
			return "Middle Mouse Button clic !";
		case MouseEvent.BUTTON3:
			return "Right Mouse Button clic !";
		default:
			return "No Button found";
		}
	}

}
